import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_ability/custom_ui.dart';

class ColorUtils {
  static List<Color> mColor = [
    YJColors.PRIMARY,
    YJColors.SECONDARY,
    YJColors.SUCCESS,
    YJColors.NOTICE,
    YJColors.INFOLINK,
    YJColors.THEME_COLOR
  ];

  static Color getRandomColor() {
    var next = Random().nextInt(mColor.length);
    return mColor[next];
  }
}
